package hy.controller;

import com.A;
import hy.beans.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
//@CrossOrigin
@RestController
public class Hello {
    @Autowired
    A a;
    @Autowired
    Person p;
    @RequestMapping("hello")
    public String a(){
        return "this is hello";
    }
}
